    <template>
  <div v-if="_show" class="none">
    <img :src="img_none" alt />
    <div>{{_text}}</div>
    <slot></slot>
  </div>
</template>

    <script>
import img_none from "@/assets/images/none.png";
export default {
  data() {
    return {
      img_none
    };
  },
  props: {
    _show: {
      type: Boolean,
      default: false
    },
    _text: {
      type: String,
      default: "暂时无数据"
    }
  }
};
</script>
